package cn.yuanqiao.archive.supervision.service;

import cn.yuanqiao.archive.supervision.domain.AnnualVo;
import cn.yuanqiao.archive.supervision.domain.YqAttachments;
import cn.yuanqiao.archive.supervision.domain.YqAttachmentsNotices;
import cn.yuanqiao.common.core.domain.AjaxResult;
import cn.yuanqiao.manage.domain.ManageTenant;
import com.alibaba.fastjson.JSONObject;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

public interface AnnualInspectionNoticeService {
    int save(AnnualVo annualVo);

    AjaxResult uploadFile(MultipartFile file, String type, Long id, String mj);

    YqAttachments findByFileId(Long id);

    int deleteFile(YqAttachmentsNotices attachmentsNotices);

    int deleteById(Long id);

    int update(AnnualVo vo);

    List<AnnualVo> findPage(AnnualVo vo);

    AnnualVo findById(Long id);

    void send(JSONObject object);

    List<ManageTenant> findUnit(Map<String, Object> map);
}
